package me.hekr.iotos.api.dto;


import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import me.hekr.iotos.api.enums.DataFormat;
import me.hekr.iotos.api.enums.DeviceLinkType;
import me.hekr.iotos.api.enums.TransferType;

@EqualsAndHashCode(callSuper = true)
@Data
public class Product extends ProductDTO implements Serializable {

  private static final long serialVersionUID = 5222229377982834223L;

  /** 联网方式 */
  private DeviceLinkType deviceLinkType;

  /** 数据传输类型 */
  private TransferType transferType;

  /** payload 业务数据格式 */
  private DataFormat dataFormat;

  private String name;

  /** 型号 */
  private String model;
  /** 品牌 */
  private String brand;

  private String remark;
  private boolean open;
  /** 来自哪个pk的拷贝 */
  private String copyFromPk;
}
